Store Customer Card

  • Lets the application use a Square Reader to store card information for use in later transactions when the card may not be present (also known as storing a card on file for a customer to use).

    The card information is stored on Square servers, not on the specific device running Reader SDK. This means cards cannot be saved on file when offline, and that saved cards for a customer are available from any device, keyed by customer ID.

    See more

    Declaration

    Objective-C

    @interface SQRDStoreCustomerCardController : NSObject

    Swift

    class SQRDStoreCustomerCardController : NSObject
  • The delegate of a SQRDStoreCustomerCardController object must adopt the SQRDStoreCustomerCardControllerDelegate protocol.

    See more

    Declaration

    Objective-C

    @protocol SQRDStoreCustomerCardControllerDelegate

    Swift

    protocol SQRDStoreCustomerCardControllerDelegate
  • The types of errors that can occur when presenting a SQRDStoreCustomerCardController.

    See more

    Declaration

    Objective-C

    enum SQRDStoreCustomerCardControllerError {}

    Swift

    typealias SQRDStoreCustomerCardControllerError.Code._ErrorType = SQRDStoreCustomerCardControllerError
  • The Store Customer Card controller error domain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SQRDStoreCustomerCardControllerErrorDomain

    Swift

    let SQRDStoreCustomerCardControllerErrorDomain: String